extends Node2D


func _ready():
	get_viewport().disable_3d=true
	get_tree().debug_collisions_hint=true
	pass

func _on_Start_pressed():
# warning-ignore:return_value_discarded
	get_tree().change_scene("res://Scenes/chufang.tscn")
	pass # Replace with function body.


func _on_Help_pressed():
	$Node2D/helptip.popup()
	pass # Replace with function body.


func _on_Tujian_pressed():
# warning-ignore:return_value_discarded
	get_tree().change_scene("res://Scenes/TuJian.tscn")
	pass


func _on_2dor3d_toggled(button_pressed):
	if button_pressed:
		$Node2D.hide()
		$Spatial.show()
		get_viewport().disable_3d=false
		$Spatial/Sprite3D/AnimationPlayer.play("ShowLogo")
	else:
		$Node2D.show()
		$Spatial.hide()
		get_viewport().disable_3d=true
	pass 
func _on_clearData_pressed():
	$clear.show()
	pass 


func _on_MusicRoom_pressed():
	get_tree().change_scene("res://Scenes/MusicRoom.tscn")
	pass 
